even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
↳ QTRS
↳ DependencyPairsProof
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
EVEN1(s1(s1(x))) -> EVEN1(x)
TIMES2(s1(x), y) -> IF_TIMES3(even1(s1(x)), s1(x), y)
PLUS2(s1(x), y) -> PLUS2(x, y)
IF_TIMES3(true, s1(x), y) -> TIMES2(half1(s1(x)), y)
IF_TIMES3(true, s1(x), y) -> HALF1(s1(x))
IF_TIMES3(true, s1(x), y) -> PLUS2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
IF_TIMES3(false, s1(x), y) -> PLUS2(y, times2(x, y))
TIMES2(s1(x), y) -> EVEN1(s1(x))
IF_TIMES3(false, s1(x), y) -> TIMES2(x, y)
HALF1(s1(s1(x))) -> HALF1(x)
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
EVEN1(s1(s1(x))) -> EVEN1(x)
TIMES2(s1(x), y) -> IF_TIMES3(even1(s1(x)), s1(x), y)
PLUS2(s1(x), y) -> PLUS2(x, y)
IF_TIMES3(true, s1(x), y) -> TIMES2(half1(s1(x)), y)
IF_TIMES3(true, s1(x), y) -> HALF1(s1(x))
IF_TIMES3(true, s1(x), y) -> PLUS2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
IF_TIMES3(false, s1(x), y) -> PLUS2(y, times2(x, y))
TIMES2(s1(x), y) -> EVEN1(s1(x))
IF_TIMES3(false, s1(x), y) -> TIMES2(x, y)
HALF1(s1(s1(x))) -> HALF1(x)
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
PLUS2(s1(x), y) -> PLUS2(x, y)
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PLUS2(s1(x), y) -> PLUS2(x, y)
POL( s1(x1) ) = x1 + 1
POL( PLUS2(x1, x2) ) = 2x1 + 3x2 + 2
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
HALF1(s1(s1(x))) -> HALF1(x)
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
HALF1(s1(s1(x))) -> HALF1(x)
POL( HALF1(x1) ) = max{0, 3x1 - 1}
POL( s1(x1) ) = 2x1 + 3
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
EVEN1(s1(s1(x))) -> EVEN1(x)
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
EVEN1(s1(s1(x))) -> EVEN1(x)
POL( s1(x1) ) = 2x1 + 3
POL( EVEN1(x1) ) = max{0, 3x1 - 1}
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
TIMES2(s1(x), y) -> IF_TIMES3(even1(s1(x)), s1(x), y)
IF_TIMES3(true, s1(x), y) -> TIMES2(half1(s1(x)), y)
IF_TIMES3(false, s1(x), y) -> TIMES2(x, y)
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
IF_TIMES3(true, s1(x), y) -> TIMES2(half1(s1(x)), y)
IF_TIMES3(false, s1(x), y) -> TIMES2(x, y)
Used ordering: Polynomial Order [17,21] with Interpretation:
TIMES2(s1(x), y) -> IF_TIMES3(even1(s1(x)), s1(x), y)
POL( true ) = 2
POL( half1(x1) ) = max{0, x1 - 1}
POL( false ) = 1
POL( even1(x1) ) = max{0, -3}
POL( 0 ) = 0
POL( s1(x1) ) = 2x1 + 1
POL( TIMES2(x1, x2) ) = x1 + 3x2 + 3
POL( IF_TIMES3(x1, ..., x3) ) = x2 + 3x3 + 3
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
TIMES2(s1(x), y) -> IF_TIMES3(even1(s1(x)), s1(x), y)
even1(0) -> true
even1(s1(0)) -> false
even1(s1(s1(x))) -> even1(x)
half1(0) -> 0
half1(s1(s1(x))) -> s1(half1(x))
plus2(0, y) -> y
plus2(s1(x), y) -> s1(plus2(x, y))
times2(0, y) -> 0
times2(s1(x), y) -> if_times3(even1(s1(x)), s1(x), y)
if_times3(true, s1(x), y) -> plus2(times2(half1(s1(x)), y), times2(half1(s1(x)), y))
if_times3(false, s1(x), y) -> plus2(y, times2(x, y))